package com.zhang.boot.core.vo.user;

import com.zhang.boot.core.entity.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVo implements Serializable {

    private User user;

    private Set<String> roles;

    private Set<String> permissions;

}
